﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;


namespace NewDDSys.BLL
{
    public class YsjhBLL:IYsjhBLL
    {
        public int AddYsjh(YsjhInfo ys)
        {
            return DALFactory.CreateYsjhDAL().AddYsjh(ys);
        }
        public int UpdateYsjh(string num, string yday, string ku, string pinzhong, int cs)
        {
            return DALFactory.CreateYsjhDAL().UpdateYsjh(num, yday, ku, pinzhong, cs);
        }
        public int Del(string num)
        {
            return DALFactory.CreateYsjhDAL().Del(num);
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateYsjhDAL().Select(num);
        }
        public DataSet SelectByDay(string sday)
        {
            return DALFactory.CreateYsjhDAL().SelectByDay(sday);
        }
        public string AUTOID()
        {
            return DALFactory.CreateYsjhDAL().AUTOID();
        }
        public string RHJ(string cday)
        {
            return DALFactory.CreateYsjhDAL().RHJ(cday);
        }
        public string JDXC()
        {
            return DALFactory.CreateYsjhDAL().JDXC();
        }
        public string JDBC()
        {
            return DALFactory.CreateYsjhDAL().JDBC();
        }
        public string JDJB()
        {
            return DALFactory.CreateYsjhDAL().JDJB();
        }
        public string JDZB()
        {
            return DALFactory.CreateYsjhDAL().JDZB();
        }
        public string YHJ(string kday, string jday)
        {
            return DALFactory.CreateYsjhDAL().YHJ(kday, jday);
        }
    }
}
